<?php
/*echo $_REQUEST['pro_id'];
echo $_REQUEST['project_name'];
echo $_REQUEST['project_manager'];
echo $_REQUEST['pro_description'];
echo $_REQUEST['start_date'];
echo $_REQUEST['complete_date'];
ech $_REQUEST['pro_status'];*/
include "../../operations/connection.php";

try {
	$query = "UPDATE pr_project SET NameProject = '".$_REQUEST['project_name']."', Description = '".$_REQUEST['pro_description']."',
	 IDManager = '".$_REQUEST['project_manager']."', DateStart = '".$_REQUEST['start_date']."', DateComplete = '".$_REQUEST['complete_date']."',
	Status = '".$_REQUEST['pro_status']."' WHERE IDProject = ".$_REQUEST['pro_id'];
	
	echo mysql_query($query);
} catch (Exception $e) {
	mysql_close($connection);
}

mysql_close($connection);
?>